import { Moment } from 'moment';
export default class Department {
    id: string;
    name: string;
    clockInMoment: Moment;
    clockOutMoment: Moment;
    beLateMoment: Moment;
    absenteeismLateMoment: Moment;
    absenteeismEarlyMoment: Moment;
    constructor(department: Department) {
        this.id = department.id;
        this.name = department.name;
        this.clockInMoment = department.clockInMoment; // 上班打卡时间
        this.clockOutMoment = department.clockOutMoment; // 下班打卡时间
        this.beLateMoment = department.beLateMoment; // 轻微迟到时间
        this.absenteeismLateMoment = department.absenteeismLateMoment; // 迟到计算缺勤时间
        this.absenteeismEarlyMoment = department.absenteeismEarlyMoment; // 早退计算缺勤时间
    }
}